// 获取工资列表接口
const getSalaryPage = (params) => {
  return $axios({
    url: '/salary',
    method: 'get',
    params
  })
}

// 新增工资接口
const addSalary = (params) => {
  return $axios({
    url: '/salary',
    method: 'post',
    data: params
  })
}

// 查找工资接口
const reqFindSalary = (params) => {
  return $axios({
    url: '/salary/find',
    method: 'get',
    params
  })
}

// 删除工资接口
const deleteSalary = (params) => {
  return $axios({
    url: 'salary/delete',
    method: 'delete',
    params
  })
}

// 修改工资接口
const reqEditSalary = (params) => {
  return $axios({
    url: '/salary',
    method: 'put',
    data: params
  })
}